package org.lex.keytool.core.runner;

import java.util.concurrent.Future;

import org.lex.keytool.core.task.Task;
import org.lex.keytool.util.StringUtils;

import sun.security.tools.KeyTool;

public class NoneForkTaskRunner extends AbstractTaskRunner {

	public Future<?> run(Task task) throws Exception {
		String[] args = task.buildArguments();
		log.info("args: " + StringUtils.argsToString(args));
		KeyTool.main(args);
		return null;
	}
}
